/**
 * 
 */
package com.totobox.apps;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author ytslove
 *
 */
public class Const {

	public static int WIDTH = 0;
	public static final String APP_NAME = "TotoFun";
	
	public static final String DB_DIR = "/data/data/com.totobox.apps/databases/";
	
	//public static final String HOST = "https://www.totofun.com";
	public static final String HOST = "http://stage.totofun.com";
	public static final String AGENT = "android";
	
	public static final String LOGIN = HOST + "/App/LogIn?vcMemberID={0}&vcPassword={1}&vcAgent={2}";
	
	public static final String MEMBER = HOST + "/App/MemberInfo?vcMemberID={0}&vcMemberKey={1}";
	
	public static final String PAYMENTLIST = HOST + "/App/PaymentList?biOid={0}&iPage={1}&vcMemberID={2}";
	
	public static final String MAINFOLDER = HOST + "/App/MainFolder?vcMemberID={0}&vcMemberKey={1}";
	
	public static final String FOLDERFILELIST = HOST + "/App/FolderFileList?vcMemberID={0}&vcMemberKey={1}&biFolderSeq={2}&iFolderDepth={3}&vcFolderKey={4}&iPage={5}&biCursorSeq={6}&iPageSize={7}&vcSearchText={8}&vcAgent={9}";
//	public static final String FOLDERFILELIST = "http://gundals.cafe24.com/FolderFileList.jsp?vcMemberID={0}&vcMemberKey={1}&biFolderSeq={2}&iFolderDepth={3}&vcFolderKey={4}&iPage={5}&biCursorSeq={6}&iPageSize={7}&vcSearchText={8}&vcAgent={9}";
	
	public static final String FILEDETAIL = HOST + "/App/FileDetail?vcMemberID={0}&vcMemberKey={1}&biFileSeq={2}&vcFileKey={3}";
	
	public static final String FILEDOWNLOAD = HOST + "/App/FileDownLoad?vcMemberID={0}&vcMemberKey={1}&biFileSeq={2}&vcFileKey={3}&vcFolderKey={4}&vcAgent={5}";
	
	public static final String FILESTREAM = HOST + "/App/FileStream?vcMemberID={0}&vcMemberKey={1}&biFileSeq={2}&vcFileKey={3}&vcFolderKey={4}&vcAgent={5}";
	
	public static final String TOTOCASTFILE = HOST + "/App/TotoCastFileList?vcMemberID={0}&vcMemberKey={1}&iPage={2}&biCursorSeq={3}&iPageSize={4}&bAdult={5}&vcAgent={6}";
	
	public static final String NOTICELIST = HOST + "/App/NoticeList?biBoardSeq={0}&iPage={1}&tiType={2}&iPageSize={3}&vcAgent={4}";
	
	public static final String NOTICEDETAIL = HOST + "/App/NoticeDetail?biBoardSeq={0}&tiAgent={1}";
	
	public static final String NOTICEREPLE = HOST + "/App/NoticeReple?biBoardSeq={0}&tiAgent={1}";
	
	public static final String CHECK = HOST + "/Check/CheckData";
	
	
	public static boolean isAlertView = false;
	
	//현재 메뉴
	public static String MENU = "IMG"; //VIDEO폴더 : VOD , IMAGE폴더 : IMG , MUSIC폴더 : AUD , DOCUMENT폴더 : ETC , PAUSE폴더 : PAU
	
	//사용 폴더
	public static final String homeDir = "/sdcard/totofun/";
	
	public static final String movieDir = "movie/";
	
	public static final String musicDir = "music/";
	
	public static final String picDir = "photo/";
	
	public static final String etcDir = "etc/";
	
	public static String MODE = "";
	
	public static String sortName = "vcName";
	
	//서버 데이터 인지 체크
	public static boolean isServer = true;
	
	//최상위 폴더 정보
	public static final Map<String, Map<String, String>> mainFolder = new HashMap<String, Map<String,String>>();
	
	//하위 폴더의 파일 정보
	public static final List<Map<String, String>> totoFile = new ArrayList<Map<String, String>>();
	
	public static final List<Map<String, String>> dnQueue = new ArrayList<Map<String, String>>();
	
	
	public static String iTotalCount = "";
	public static String iTotalPageCount = "";
}
